package com.qf.fmcommodity.user.vo;

import java.util.HashMap;

public class LoginVo extends HashMap {


    public static LoginVo ok(){

        final LoginVo resultVo = new LoginVo();

        resultVo.put("code",10000);
        resultVo.put("msg","ok");

        return resultVo;

    }

    public static LoginVo ok(Object data){

        final LoginVo resultVo = new LoginVo();

        resultVo.put("code",10000);
        resultVo.put("msg","ok");

        resultVo.put("data",data);

        return resultVo;

    }
}
